package com.fancy.dao;

import com.fancy.pojo.UserListenNumber;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;


@Mapper
public interface FancyUserListenNumberDao {
    ArrayList<UserListenNumber> getAllUserListenNumber();
    ArrayList<UserListenNumber> getListenNumberByUserId(@Param("userId") Integer userId);
    boolean updateUserListenNumber(@Param("userListenNumber") UserListenNumber userListenNumber);
    boolean insertUserListenNumber(@Param("userListenNumber") UserListenNumber userListenNumber);
}
